﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BootstrapBlazorApp.Shared
{
    /// <summary>
    /// 客户端应用键
    /// </summary>
    public static class ClientAppKey
    {
        /// <summary>
        /// 渲染类型
        /// </summary>
        public const string AppRunMode = "AppRunMode";

        /// <summary>
        /// 服务Host
        /// </summary>
        public const string ServerHost = "ServerHost";

        /// <summary>
        /// 初始化时间
        /// </summary>
        public const string InitedTime = "inited_time";

        /// <summary>
        /// 全局应用数据
        /// </summary>
        public const string GlobalApps = "global_apps";

        /// <summary>
        /// 当前菜单数据
        /// </summary>
        public const string CurrentNavs = "current_navs";

        /// <summary>
        /// 当前用户是否完全不限制
        /// </summary>
        public const string UserUnlimit = "user_unlimit";

        /// <summary>
        /// 当前用户类型
        /// </summary>
        public const string CurrentUser = "user_curr";

        /// <summary>
        /// 当前用户类型
        /// </summary>
        public const string UserAdminType = "user_admin_type";

        /// <summary>
        /// 当前用户许可资源
        /// </summary>
        public const string UserPermissions = "user_permissions";

        /// <summary>
        /// 访问token
        /// </summary>
        public const string AccessToken = "adminnet_access_token";

        /// <summary>
        /// 刷新token
        /// </summary>
        public const string RefreshToken = "adminnet_refresh_token";

        /// <summary>
        /// 色彩模式
        /// </summary>
        public const string ColorScheme = "adminnet_color_scheme";
    }

}
